package com.xialinrui.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xialinrui.entity.ResponseResult;
import com.xialinrui.entity.User;

public interface UserService extends IService<User> {
    ResponseResult login(User user);

    ResponseResult logout();

    void increaseAcquire(Long todoId);

    Double getAllMoney();

    Integer getAllLove();

    void decreaseAcquire(Long id);

    void addAcquireByTime(Integer realTime);

    void updateStudyingTime(Long id, Integer realTime);

    Integer allTime();
}
